package com.zr.spring.proxy.cglib;

import com.zr.spring.aop.TestBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Solution {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:aop/aop-test.xml");
        TestBean bean = context.getBean(TestBean.class);
        bean.test();
    }
}
